// 30 look up tables implicitly converting pressure to altitude in cm.
// Each LUT entry is the altitude in cm corresponding to an implicit
// pressure value, calculated as [PA_INIT - 1024*index] in Pa.
// Each of the 30 tables is calculated for a specific reference sea-level
// pressure pRef, which changes depending on local weather conditions.
// The user can correct the barometric altitude reading at a known altitude
// location by selecting the table that gives the most accurate altitude
// reading. The difference between one table and the next is approximately 8m,
// Lut 10 has the nominal reference sea level pressure, so the range of
// correction possible is about -80/+160m.


const  prog_uint32_t gPZTbl[PZLUT_ENTRIES] =
//const  u32 gPZTbl[PZLUT_ENTRIES] = 
{
// Pref = 101325 //
-29408,
-21087,
-12700,
-4244,
4279,
12874,
21541,
30281,
39095,
47986,
56953,
66000,
75126,
84335,
93628,
103006,
112472,
122026,
131672,
141410,
151244,
161174,
171204,
181335,
191570,
201911,
212361,
222922,
233597,
244388,
255300,
266334,
277494,
288782,
300204,
311761,
323457,
335297,
347285,
359424,
371719,
384174,
396795,
409586,
422552,
435700,
449033,
462560,
476285,
490216,
504360,
518724,
533316,
548144,
563216,
578543,
594134,
609999,
626148,
642595
};
